package com.cyw.socket.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * @Author: Chenyw
 * @Date: 2022/11/10/11:28
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("tb_love")
@ApiModel("关注实体类")
public class LoveRelation implements Serializable {
    @ApiModelProperty("id")
    private Long id;

    @ApiModelProperty("用户id")
    private Long userId;

    @ApiModelProperty("被关注用户id")
    private Long beLikedUserId;

    @ApiModelProperty("关注时间")
    private Date createTime;
}
